package com.tpp.user.vo;

import lombok.Data;
import org.apache.catalina.User;

@Data
public class UserVo {
    private LoginUser loginUser;
    private TokenVo tokenVo;
    @Data
    public static class LoginUser{
        private Integer id;
        private String phone;
        private String password;
        private String wxUserId;
        private String realName;
        private String nickName;
        private Integer sex;
        private String hobby;
        private String idCard;
        private java.sql.Timestamp birthday;
        private java.sql.Timestamp createdTime;
        private java.sql.Timestamp updatedTime;
        private String imgUrl;
    }
    @Data
    public static class TokenVo{
        private String token;
        private Long genTime;
        private Integer expTime;
    }
}
